package com.hzsk.lisence.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {


    public  final  static  String KEY = "0hzsk020230hzsk0";

    public final static String administrator = "administrator";

    public final static String administrator_password = "hzsk2023hzsk";

    public final static String PASSWORD_RESET = "123456";

    public static String PUB ;

    public static String PRI;
    @Value("${RSA.pub}")
    public void setPub(String PUB) {
        if (PUB == null) PUB = "/home/hzncc/empower/backend/rsa.pub";
        MyConfig.PUB = PUB;
    }

    @Value("${RSA.pri}")
    public void setPri(String PRI) {
        if (PRI == null) PRI = "/home/hzncc/empower/backend/rsa.pri";
        MyConfig.PRI = PRI;
    }


}
